home *** CD-ROM | disk | FTP | other *** search
/ PC for Alla 2005 May / PC för Alla 0505.iso / fullversioner / realsoft3d / data1.cab / Scripting / scripts / js / real / gadget / r3imgbrow.js < prev    next >
Encoding:
JavaScript  |  2005-04-04  |  3.3 KB  |  114 lines

  1.  
  2. // JavaScript wrapper for r3imgbrow.h
  3. // Auto generated file, do not modify by hand
  4. // Copyright ⌐ 2004, Realsoft Graphics Oy
  5.  
  6. var R3_IMAGEBROWSEWINDOW_H = 1;
  7. include("oops/r3window.js")
  8. include("oops/r3flist.js")
  9.  
  10.  
  11. var R3CLID_IMAGEBROWSEWINDOW = 1778;
  12.  
  13.  
  14.  
  15.  
  16. // Description: Called when the user selects a folder. The base class reads the name of
  17. //      the selected folder and sends R3RM_UPDATE, in which derived classes can fetch R3FLA_Directory attribute and
  18. //      update the right side of the window.
  19.  
  20. R3IMGBROWM_SELECTFOLDER = 1778000;
  21.  
  22. function mR3IMGBROWM_SELECTFOLDER() {
  23.   DoA(this.r3obj, 1778000, 0, R3TID_INTEGER, 0);
  24. }
  25.  
  26. // Description: Delete currently selected folder.
  27.  
  28. R3IMGBROWM_DELETEFOLDER = 1778001;
  29.  
  30. function mR3IMGBROWM_DELETEFOLDER() {
  31.   DoA(this.r3obj, 1778001, 0, R3TID_INTEGER, 0);
  32. }
  33.  
  34. // Description: Create a new folder into the currently selected folder.
  35.  
  36. R3IMGBROWM_NEWFOLDER = 1778002;
  37.  
  38. function mR3IMGBROWM_NEWFOLDER() {
  39.   DoA(this.r3obj, 1778002, 0, R3TID_INTEGER, 0);
  40. }
  41.  
  42. // Description: Select current folder
  43. // p3: String, folder name    
  44.  
  45. R3IMGBROWM_SETCURRENTFOLDER = 1778003;
  46.  
  47. function mR3IMGBROWM_SETCURRENTFOLDER(p3) {
  48.   DoA(this.r3obj, 1778003, p3, R3TID_STRING, 0);
  49. }
  50.  
  51.  
  52.  
  53.  
  54. var R3IMGBROWA_String = 1778500; // String
  55. var R3IMGBROWA_BrowsePrompt = 1778501; // String
  56. R3IMGBROWA_RightPacker = 1778502;
  57. function GetR3IMGBROWA_RightPacker() {
  58.   return R3ToJS(R3Get(this.r3obj, R3IMGBROWA_RightPacker, R3TID_OBJECT, 0)); 
  59. }
  60.  
  61. R3IMGBROWA_ToolBarGmanager = 1778508;
  62. function GetR3IMGBROWA_ToolBarGmanager() {
  63.   return R3ToJS(R3Get(this.r3obj, R3IMGBROWA_ToolBarGmanager, R3TID_OBJECT, 0)); 
  64. }
  65.  
  66. R3IMGBROWA_SortAlphabeticall = 1778509;
  67. function SetR3IMGBROWA_SortAlphabeticall(value) {
  68.   R3Set(this.r3obj, R3IMGBROWA_SortAlphabeticall, value, R3TID_BOOLEAN, 0); 
  69. }
  70.  
  71. R3IMGBROWA_ReportCloseObject = 1778510;
  72. function SetR3IMGBROWA_ReportCloseObject(value) {
  73.   R3Set(this.r3obj, R3IMGBROWA_ReportCloseObject, value, R3TID_OBJECT, 0); 
  74. }
  75.  
  76. R3IMGBROWA_ReportCloseMethod = 1778511;
  77. function SetR3IMGBROWA_ReportCloseMethod(value) {
  78.   R3Set(this.r3obj, R3IMGBROWA_ReportCloseMethod, value, R3TID_INTEGER, 0); 
  79. }
  80.  
  81. R3IMGBROWA_RootDirectory = 1778512;
  82. function SetR3IMGBROWA_RootDirectory(value) {
  83.   R3Set(this.r3obj, R3IMGBROWA_RootDirectory, value, R3TID_STRING, 0); 
  84. }
  85.  
  86. function GetR3IMGBROWA_RootDirectory() {
  87.   return R3Get(this.r3obj, R3IMGBROWA_RootDirectory, R3TID_STRING, 0); 
  88. }
  89.  
  90.  
  91.  
  92. function r3Imagebrowsewindow () { 
  93.    this.base = r3God;
  94.    if(arguments.length) {
  95.       this.base(R3CLID_IMAGEBROWSEWINDOW, arguments);
  96.    }
  97.    // Methods
  98.    this.SELECTFOLDER=mR3IMGBROWM_SELECTFOLDER;
  99.    this.DELETEFOLDER=mR3IMGBROWM_DELETEFOLDER;
  100.    this.NEWFOLDER=mR3IMGBROWM_NEWFOLDER;
  101.    this.SETCURRENTFOLDER=mR3IMGBROWM_SETCURRENTFOLDER;
  102.  
  103.    // Attributes
  104.    this.GetRightPacker=GetR3IMGBROWA_RightPacker;
  105.    this.GetToolBarGmanager=GetR3IMGBROWA_ToolBarGmanager;
  106.    this.SetSortAlphabeticall=SetR3IMGBROWA_SortAlphabeticall;
  107.    this.SetReportCloseObject=SetR3IMGBROWA_ReportCloseObject;
  108.    this.SetReportCloseMethod=SetR3IMGBROWA_ReportCloseMethod;
  109.    this.GetRootDirectory=GetR3IMGBROWA_RootDirectory;
  110.    this.SetRootDirectory=SetR3IMGBROWA_RootDirectory;
  111. }
  112.  
  113. r3Imagebrowsewindow.prototype=new r3Window;
  114. // r3imgbrow.h_H